From e67185d835bc25740ddc6a7891cc4e783763a755 Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 21 Dec 2015 22:00:30 +0100 Subject: [PATCH] Initial (non-working) packaging --- debian/README.source | 18 ++++++++++ debian/changelog | 5 +++ debian/compat | 1 + debian/control | 77 +++++++++++++++++++++++++++++++++++++++++ debian/copyright | 61 ++++++++++++++++++++++++++++++++ debian/gbp.conf | 5 +++ debian/git-tuneclone.sh | 35 +++++++++++++++++++ debian/rules | 10 ++++++ debian/source/format | 1 + debian/watch | 5 +++ 10 files changed, 218 insertions(+) create mode 100644 debian/README.source create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100755 debian/git-tuneclone.sh create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 00000000..024a331b --- /dev/null +++ b/debian/README.source @@ -0,0 +1,18 @@ + +git-tuneclone.sh +---------------- + +This package comes with a script 'debian/git-tuneclone.sh'. +Running it after a fresh clone of the packaging repository +will fine-tune your local copy, namely: +- make git ignore any .pc/ directory (created by quilt) +- enable the "-follow-tags" when running 'git-push', so it's harder + to forget to push packaging tags along with the branches. +- do an initial checkout of the 3 packaging branches (master, pristine-tar, + upstream) +The script only needs to run once (though running it multiple times shouldn't +matter). +You are of course free to *not* run the script, if you prefer. + + -- IOhannes m zmölnig (Debian/GNU) Tue, 11 Nov 2015 11:11:03 +0100 + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..7a0c1ec0 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +juce (4.1.0-1) UNRELEASED; urgency=medium + + * Initial release. (Closes: #808611) + + -- IOhannes m zmölnig (Debian/GNU) Mon, 21 Dec 2015 21:25:23 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..ec635144 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..9790d286 --- /dev/null +++ b/debian/control @@ -0,0 +1,77 @@ +Source: juce +Section: sound +Priority: optional +Maintainer: Debian Multimedia Maintainers +Uploaders: IOhannes m zmölnig (Debian/GNU) +Build-Depends: debhelper (>= 9), + libgl1-mesa-dev | libgl-dev, + libxinerama-dev, + libfreetype-dev, + pkg-config +Build-Depends-Indep: doxygen +Standards-Version: 3.9.6 +Homepage: http://juce.org +Vcs-Git: git://anonscm.debian.org/pkg-multimedia/juce.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-multimedia/juce.git + +Package: libjuce0 +Architecture: any +Section: libs +Pre-Depends: ${misc:Pre-Depends} +Depends: + ${shlibs:Depends}, ${misc:Depends} +Description: Jules' Utility Class Extensions + + JUCE (Jules' Utility Class Extensions) is an all-encompassing C++ framework for + developing cross-platform software. + . + It contains pretty much everything you're likely to need to create most + applications, and is particularly well-suited for building highly-customised + GUIs, and for handling graphics and sound. + +Package: libjuce-dev +Architecture: any +Section: libdevel +Depends: ${misc:Depends}, + libjuce0 (>= ${source:Version}), + libjuce0 (<< ${source:Upstream-Version}+1~) +Description: Jules' Utility Class Extensions (development) + JUCE (Jules' Utility Class Extensions) is an all-encompassing C++ framework for + developing cross-platform software. + . + It contains pretty much everything you're likely to need to create most + applications, and is particularly well-suited for building highly-customised + GUIs, and for handling graphics and sound. + . + This package provides the files necessary to compile an application + using JUCE. + +Package: libjuce-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, +Suggests: libjuce-dev +Description: Jules' Utility Class Extensions (documentation) + JUCE (Jules' Utility Class Extensions) is an all-encompassing C++ framework for + developing cross-platform software. + . + It contains pretty much everything you're likely to need to create most + applications, and is particularly well-suited for building highly-customised + GUIs, and for handling graphics and sound. + . + This package contains html documentation for the JUCE API. + +#Package: introjucer +#Architecture: all +#Section: doc +#Depends: ${misc:Depends}, +# libjuce-dev +#Description: Jules' Utility Class Extensions (documentation) +# JUCE (Jules' Utility Class Extensions) is an all-encompassing C++ framework for +# developing cross-platform software. +# . +# It contains pretty much everything you're likely to need to create most +# applications, and is particularly well-suited for building highly-customised +# GUIs, and for handling graphics and sound. +# . +# This package contains html documentation for the JUCE API. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..ea8776d0 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,61 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gsequencer +Source: http://github.com/gsequencer/gsequencer + +Files: * +Copyright: 2005-2015 Joël Krähemann +License: GPL-3+ + +Files: src/* +Copyright: 2005-2015 Joël Krähemann +License: GPL-3+ + +Files: src/ags/lib/ags_parameter.c +Copyright: 1995 Spencer Kimball and Peter Mattis +License: GPL-2+ + +Files: AUTHORS ChangeLog COPYING INSTALL NEWS README gsequencer.1 gsequencer-documentation midi2xml.1 missing doc/* gsequencer.share/* +Copyright: 2005-2015 Joël Krähemann +License: GFDL-1.3+ + +Files: debian/* +Copyright: 2005-2015 Joël Krähemann +License: GPL-3+ + +License: GPL-2+ + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +License: GPL-3+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + +License: GFDL-1.3+ + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 + or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 00000000..a7281f94 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,5 @@ +# Configuration file for git-buildpackage and friends + +[DEFAULT] +pristine-tar = True +sign-tags = True diff --git a/debian/git-tuneclone.sh b/debian/git-tuneclone.sh new file mode 100755 index 00000000..59ac8c69 --- /dev/null +++ b/debian/git-tuneclone.sh @@ -0,0 +1,35 @@ +#!/bin/sh + +## script to initialize a cloned repository +## with per (local) repository settings. + +# - ignore quilt's .pc/ directory +# - enable the "--follow-tags" mode for pushing + +error() { + echo "$@" 1>&2 +} + +NAME=$(dpkg-parsechangelog -S Source) + +if [ "x${NAME}" = "x" ]; then + error "unable to determine package name" + error "make sure you run this script within a source package dir" + exit 1 +fi + +if [ ! -d ".git" ]; then + error "it seems like this source package is not under git control" + exit 1 +fi + +echo "tuning git-repository for ${NAME}" +git config push.followTags true && echo "enabled push.followTags" + +GITEXCLUDE=".git/info/exclude" +egrep "^/?\.pc/?$" "${GITEXCLUDE}" >/dev/null 2>&1 \ + || (echo "/.pc/" >> "${GITEXCLUDE}" && echo "ignoring /.pc/") + +for branch in pristine-tar upstream master; do + git checkout "${branch}" +done diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..5887ef1e --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2015 IOhannes m zmölnig +# Description: Main Debian packaging script for JUCE + +BUILD_DATE=$(shell date -u -d "$$(dpkg-parsechangelog -SDate)" +"%h %d %Y") +export DEB_CPPFLAGS_MAINT_APPEND = -DBUILD_DATE='"$(BUILD_DATE)"' + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 00000000..4be5f394 --- /dev/null +++ b/debian/watch @@ -0,0 +1,5 @@ +# Run the "uscan" command to check for upstream updates and more. +version=3 + +opts=dversionmangle=s/~dfsg(\.[0-9]*)?$// \ + https://github.com/julianstorer/JUCE/releases .*/v?(\d\S*)\.tar\.gz -- 2.30.2